home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3lislay.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_LISTLAYER_H = 1;
- include("real/layer/r3objlay.js")
-
-
- var R3CLID_LISTLAYER = 76;
-
-
-
-
- // Description: Send given method to all target objects.
- // p3: Tag[], R3RA_TargetMth + any number of other tags, which will be passed * to the target
- // objects in the tag list.
-
- R3LLAYM_OOENUM = 76000;
-
- function mR3LLAYM_OOENUM(p3) {
- Do(this.r3obj, 76000, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Enumerate objects to the callback function. The function must be * of form: int mycallback(R3OBJ
- // o, void *mydata); If the callback * returns 1, enumeration continues. Use return value 0 or
- // -1 to cancel * enumeration.
- // Returns: Integer, return value from the callback.
- // p3: Tag[], R3RA_Hook, R3RA_HookData
-
- R3LLAYM_ENUM = 76001;
-
- function mR3LLAYM_ENUM(p3) {
- return Do(this.r3obj, 76001, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Fetch the object with given ordnum.
- // Returns: Object, object
- // p3: Integer, ordnum
-
- R3LLAYM_GETBYORDNUM = 76002;
-
- function mR3LLAYM_GETBYORDNUM(p3) {
- return R3ToJS( DoA(this.r3obj, 76002, p3, R3TID_INTEGER, 0));
- }
-
- // Description: Apply given method to all objects in the layer.
- // p1: Boolean, disable R3MM_CHANGED
- // p3: Tag[], R3OLAYA_PMethod, R3OLAYA_PMsg, R3OLAYA_PMsg2, R3OLAYA_PMsg3
-
- R3LLAYM_PERFORMONLIST = 76003;
-
- function mR3LLAYM_PERFORMONLIST(p1, p3) {
- Do2(this.r3obj, 76003, p1, R3TID_BOOLEAN, 0, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Set animation recording on/off.
- // p3: Boolean, true/false
-
- R3LLAYM_ANIMRECORD = 76004;
-
- function mR3LLAYM_ANIMRECORD(p3) {
- DoA(this.r3obj, 76004, p3, R3TID_BOOLEAN, 0);
- }
-
-
- R3LLAYM_DELETEDUPLICATES = 76006;
-
- function mR3LLAYM_DELETEDUPLICATES() {
- DoA(this.r3obj, 76006, 0, R3TID_INTEGER, 0);
- }
-
-
-
-
- R3LLAYA_InitObject = 76502;
- function SetR3LLAYA_InitObject(value) {
- R3Set(this.r3obj, R3LLAYA_InitObject, value, R3TID_OBJECT, 0);
- }
-
- R3LLAYA_InitMethod = 76503;
- function SetR3LLAYA_InitMethod(value) {
- R3Set(this.r3obj, R3LLAYA_InitMethod, value, R3TID_INTEGER, 0);
- }
-
- R3LLAYA_ObjectList = 76504;
- function GetR3LLAYA_ObjectList() {
- return R3Get(this.r3obj, R3LLAYA_ObjectList, R3TID_LIST, R3TNF_ARRAY);
- }
-
-
-
- function r3Listlayer () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_LISTLAYER, arguments);
- }
- // Methods
- this.OOENUM=mR3LLAYM_OOENUM;
- this.ENUM=mR3LLAYM_ENUM;
- this.GETBYORDNUM=mR3LLAYM_GETBYORDNUM;
- this.PERFORMONLIST=mR3LLAYM_PERFORMONLIST;
- this.ANIMRECORD=mR3LLAYM_ANIMRECORD;
- this.DELETEDUPLICATES=mR3LLAYM_DELETEDUPLICATES;
-
- // Attributes
- this.SetInitObject=SetR3LLAYA_InitObject;
- this.SetInitMethod=SetR3LLAYA_InitMethod;
- this.GetObjectList=GetR3LLAYA_ObjectList;
- }
-
- r3Listlayer.prototype=new r3Objectlayer;
- // r3lislay.h_H